﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Ccit.OA.NewsCenter
{
    /// <summary>
    /// define view info record message object (NEWS_A6)
    /// </summary>
    public class MsViewInfo
    {
        private string _newsId;
        private string _userId;
        private string _userName;
        private string _deptId;
        private string _deptName;
        private string _beginDate;
        private string _endDate;


        public string NewsId { set { _newsId = value; } get { return ((!string.IsNullOrEmpty(_newsId)) ? _newsId : ""); } }

        public string UserId { set { _userId = value; } get { return ((!string.IsNullOrEmpty(_userId)) ? _userId : ""); } }

        public string UserName { set { _userName = value; } get { return ((!string.IsNullOrEmpty(_userName)) ? _userName : ""); } }

        public string DeptId { set { _deptId = value; } get { return ((!string.IsNullOrEmpty(_deptId)) ? _deptId : ""); } }

        public string DeptName { set { _deptName = value; } get { return ((!string.IsNullOrEmpty(_deptName)) ? _deptName : ""); } }

        public string BeginDate { set { _beginDate = value; } get { return ((!string.IsNullOrEmpty(_beginDate)) ? _beginDate : ""); } }

        public string EndDate { set { _endDate = value; } get { return ((!string.IsNullOrEmpty(_endDate)) ? _endDate : ""); } }

        public MsViewInfo() { }
    }
}
